#include <epoxy/gl.h>
/**
- * SECTION:gtkglarea
- * @Title: GtkGLArea
- * @Short_description: A widget for custom drawing with OpenGL
+ * GtkGLArea:
*
* `GtkGLArea` is a widget that allows drawing with OpenGL.
*
G_PARAM_STATIC_STRINGS);
/**
- * GtkGLArea:auto-render:
+ * GtkGLArea:auto-render: (attributes org.gtk.Property.get=gtk_gl_area_get_auto_render org.gtk.Property.set=gtk_gl_area_set_auto_render)
*
* If set to %TRUE the ::render signal will be emitted every time
* the widget draws.
G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkGLArea:has-depth-buffer:
+ * GtkGLArea:has-depth-buffer: (attributes org.gtk.Property.get=gtk_gl_area_get_has_depth_buffer org.gtk.Property.set=gtk_gl_area_set_has_depth_buffer)
*
* If set to %TRUE the widget will allocate and enable a depth buffer for the
* target framebuffer.
G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkGLArea:has-stencil-buffer:
+ * GtkGLArea:has-stencil-buffer: (attributes org.gtk.Property.get=gtk_gl_area_get_has_stencil_buffer org.gtk.Property.set=gtk_gl_area_set_has_stencil_buffer)
*
* If set to %TRUE the widget will allocate and enable a stencil buffer for the
* target framebuffer.
G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkGLArea:use-es:
+ * GtkGLArea:use-es: (attributes org.gtk.Property.get=gtk_gl_area_get_use_es org.gtk.Property.set=gtk_gl_area_set_use_es)
*
* If set to %TRUE the widget will try to create a `GdkGLContext` using
* OpenGL ES instead of OpenGL.
- *
- * See also: [method@Gdk.GLContext.set_use_es]
*/
obj_props[PROP_USE_ES] =
g_param_spec_boolean ("use-es",
}
/**
- * gtk_gl_area_set_use_es:
+ * gtk_gl_area_set_use_es: (attributes org.gtk.Method.set_property=use-es)
* @area: a `GtkGLArea`
* @use_es: whether to use OpenGL or OpenGL ES
*
}
/**
- * gtk_gl_area_get_use_es:
+ * gtk_gl_area_get_use_es: (attributes org.gtk.Method.get_property=use-es)
* @area: a `GtkGLArea`
*
* Returns whether the `GtkGLArea` should use OpenGL ES.
}
/**
- * gtk_gl_area_get_has_depth_buffer:
+ * gtk_gl_area_get_has_depth_buffer: (attributes org.gtk.Method.get_property=has-depth-buffer)
* @area: a `GtkGLArea`
*
* Returns whether the area has a depth buffer.
}
/**
- * gtk_gl_area_set_has_depth_buffer:
+ * gtk_gl_area_set_has_depth_buffer: (attributes org.gtk.Method.set_property=has-depth-buffer)
* @area: a `GtkGLArea`
* @has_depth_buffer: %TRUE to add a depth buffer
*
}
/**
- * gtk_gl_area_get_has_stencil_buffer:
+ * gtk_gl_area_get_has_stencil_buffer: (attributes org.gtk.Method.get_property=has-stencil-buffer)
* @area: a `GtkGLArea`
*
* Returns whether the area has a stencil buffer.
}
/**
- * gtk_gl_area_set_has_stencil_buffer:
+ * gtk_gl_area_set_has_stencil_buffer: (attributes org.gtk.Method.set_property=has-stencil-buffer)
* @area: a `GtkGLArea`
* @has_stencil_buffer: %TRUE to add a stencil buffer
*
/**
- * gtk_gl_area_get_auto_render:
+ * gtk_gl_area_get_auto_render: (attributes org.gtk.Method.get_property=auto-render)
* @area: a `GtkGLArea`
*
* Returns whether the area is in auto render mode or not.
}
/**
- * gtk_gl_area_set_auto_render:
+ * gtk_gl_area_set_auto_render: (attributes org.gtk.Method.set_property=auto-render)
* @area: a `GtkGLArea`
* @auto_render: a boolean
*